home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / tracker-4.13.lha / tracker / getopt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-15  |  861 b   |  44 lines

  1. /* getopt.h 
  2.     vi:ts=3 sw=3:
  3.  */
  4. /* $Id: getopt.h,v 4.6 1995/02/08 13:14:56 espie Exp $
  5.  * $Log: getopt.h,v $
  6.  * Revision 4.6  1995/02/08  13:14:56  espie
  7.  * *** empty log message ***
  8.  *
  9.  * Revision 4.6  1995/02/08  13:14:56  espie
  10.  * *** empty log message ***
  11.  *
  12.  * Revision 4.5  1995/02/01  20:41:45  espie
  13.  * Added color.
  14.  *
  15.  * Revision 4.5  1995/02/01  20:41:45  espie
  16.  * Added color.
  17.  *
  18.  * Revision 4.4  1995/02/01  16:39:04  espie
  19.  * Moved includes to defs.h
  20.  *
  21.  * Revision 4.4  1995/02/01  16:39:04  espie
  22.  * Moved includes to defs.h
  23.  *
  24.  */
  25.  
  26. struct long_option
  27.     {
  28.     char *fulltext;
  29.     int argn;
  30.     char abbrev;
  31.     int code;
  32.     };
  33.  
  34. /* n = getlongopt(argc, argv, options):
  35.  * try to parse options out of argv, using
  36.  * ways similar to standard getopt
  37.  */
  38. XT int getlongopt P((int argc, char *argv[], struct long_option *options));
  39.  
  40. XT int optind;
  41.  
  42. XT char *optarg;
  43.  
  44.